[INFO] cloning repository https://github.com/janalski8/autismarchia-back
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/janalski8/autismarchia-back" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanalski8%2Fautismarchia-back", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanalski8%2Fautismarchia-back'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f3ec8e40ab3d2067a8e17f6b18a9286093a95ca7
[INFO] building janalski8/autismarchia-back against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanalski8%2Fautismarchia-back" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/janalski8/autismarchia-back on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/janalski8/autismarchia-back
[INFO] finished tweaking git repo https://github.com/janalski8/autismarchia-back
[INFO] tweaked toml for git repo https://github.com/janalski8/autismarchia-back written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/janalski8/autismarchia-back already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c90d696ea489d2425ffece1291fb012e7b57df53a0d53f54c55a35c5f8f3c16b
[INFO] running `Command { std: "docker" "start" "-a" "c90d696ea489d2425ffece1291fb012e7b57df53a0d53f54c55a35c5f8f3c16b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c90d696ea489d2425ffece1291fb012e7b57df53a0d53f54c55a35c5f8f3c16b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c90d696ea489d2425ffece1291fb012e7b57df53a0d53f54c55a35c5f8f3c16b", kill_on_drop: false }`
[INFO] [stdout] c90d696ea489d2425ffece1291fb012e7b57df53a0d53f54c55a35c5f8f3c16b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 8678cbc6447797c888fed202af40b2b4002da969ca662eb1a3243677a0b81df7
[INFO] running `Command { std: "docker" "start" "-a" "8678cbc6447797c888fed202af40b2b4002da969ca662eb1a3243677a0b81df7", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.2
[INFO] [stderr]    Compiling serde v1.0.37
[INFO] [stderr]    Compiling proc-macro2 v0.3.5
[INFO] [stderr]    Compiling quote v0.5.1
[INFO] [stderr]    Compiling syn v0.13.1
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling ordered-float v0.5.0
[INFO] [stderr]    Compiling serde_derive_internals v0.23.0
[INFO] [stderr]    Compiling serde_derive v1.0.37
[INFO] [stderr]    Compiling serde_json v1.0.13
[INFO] [stderr]    Compiling autismarchia-back v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `state::level::Entity`
[INFO] [stdout]  --> src/player/player.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use state::level::Entity;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state/level.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     object: Box<Object>,
[INFO] [stdout]    |                 ^^^^^^ help: use `dyn`: `dyn Object`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state/level.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn new(object: Box<Object>, level: Idx, position: IPoint) -> Entity {
[INFO] [stdout]    |                        ^^^^^^ help: use `dyn`: `dyn Object`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state/level.rs:36:30
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn object(&self) -> &Object {
[INFO] [stdout]    |                              ^^^^^^ help: use `dyn`: `dyn Object`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state/level.rs:39:42
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn object_mut(&mut self) -> &mut Object {
[INFO] [stdout]    |                                          ^^^^^^ help: use `dyn`: `dyn Object`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state/level.rs:66:46
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn add_entity(&mut self, object: Box<Object>, position: IPoint) -> &mut Entity {
[INFO] [stdout]    |                                              ^^^^^^ help: use `dyn`: `dyn Object`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print`
[INFO] [stdout]   --> src/state/world.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use print;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_raw`
[INFO] [stdout]  --> src/foundation.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use print_raw;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print`
[INFO] [stdout]   --> src/foundation.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use print;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Entity`, `Level`
[INFO] [stdout]  --> src/objects/player.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use state::level::{Entity, Level};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::ipoint::IPoint`
[INFO] [stdout]  --> src/objects/player.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use utils::ipoint::IPoint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::point::Point`
[INFO] [stdout]  --> src/objects/player.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use utils::point::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ordered_float::OrderedFloat`
[INFO] [stdout]  --> src/objects/player.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ordered_float::OrderedFloat;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/objects/player.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Cell`
[INFO] [stdout]  --> src/objects/player.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cell::Cell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `state::object::Object`
[INFO] [stdout]  --> src/foundation.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use state::object::Object;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> src/objects/character.rs:115:28
[INFO] [stdout]     |
[INFO] [stdout] 115 |             Action::Walk { idx, .. } => {
[INFO] [stdout]     |                            ^^^ help: try ignoring the field: `idx: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> src/objects/character.rs:119:28
[INFO] [stdout]     |
[INFO] [stdout] 119 |             Action::Wait { idx, .. } => {
[INFO] [stdout]     |                            ^^^ help: try ignoring the field: `idx: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/objects/player.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn update(&self, context: Context, _effects: &mut Effects) {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/objects/player.rs:71:27
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn plan_action(&self, context: Context, effects: &mut Effects) {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]   --> src/objects/player.rs:85:28
[INFO] [stdout]    |
[INFO] [stdout] 85 |             Action::Walk { idx, .. } => {
[INFO] [stdout]    |                            ^^^ help: try ignoring the field: `idx: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]   --> src/objects/player.rs:89:28
[INFO] [stdout]    |
[INFO] [stdout] 89 |             Action::Wait { idx, .. } => {
[INFO] [stdout]    |                            ^^^ help: try ignoring the field: `idx: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/state/world.rs:145:21
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 let mut lvl = self.get_mut_entity_level(idx).unwrap();
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/state/world.rs:151:21
[INFO] [stdout]     |
[INFO] [stdout] 151 |                 let mut e = self.get_mut_entity(idx).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*level` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/foundation.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let empty_tile = level.tiles().iter().filter(|(_p, tile)|
[INFO] [stdout]    |                          ----- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 32 |         level.add_entity(Box::new(Player::new(idx)), *empty_pos);
[INFO] [stdout]    |         ^^^^^ mutable borrow occurs here             ---------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `autismarchia-back`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "8678cbc6447797c888fed202af40b2b4002da969ca662eb1a3243677a0b81df7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8678cbc6447797c888fed202af40b2b4002da969ca662eb1a3243677a0b81df7", kill_on_drop: false }`
[INFO] [stdout] 8678cbc6447797c888fed202af40b2b4002da969ca662eb1a3243677a0b81df7
